package com.situ.mall.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.situ.mall.dao.ShippingMapper;
import com.situ.mall.entity.Shipping;
import com.situ.mall.service.IShippingService;

@Service
public class ShippingServiceImpl implements IShippingService{

	@Autowired
	private ShippingMapper shippingMapper;

	@Override
	public Shipping selectShippingByUserId(Integer userId) {
		Shipping shipping = shippingMapper.selectShippingByUserId(userId);
		return shipping;
	}

		
}
